package cn.doitedu.day01.my

import scala.io.Source

/**
 * @Date 22.3.28
 * @Created by HANGGE
 * @Description
 */
object ForeachLoadData {
  def main(args: Array[String]): Unit = {

    Source.fromFile("data/word.txt").getLines().map(_.toUpperCase).foreach(println)





  }

}
